package com.neuedu.shop.service;

import com.neuedu.shop.entity.Category;
import com.baomidou.mybatisplus.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Qin
 * @since 2021-04-10
 */
public interface CategoryService extends IService<Category> {
    /*添加根类别*/
    void insertRootCategory(String categoryName, String categoryDescription);
    /*添加子类别*/
    void addChildCategory(String categoryName, String categoryDescription,Integer id);

    List<Category> findToThree();


}
